<%--
  Created by IntelliJ IDEA.
  User: HKemmm
  Date: 2021/3/29
  Time: 15:18
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>request练习</title>
</head>
<body>
Hello World!
<c:if test="true">
    dhkasjdh
</c:if>

<%
    //在request对象中缓存一个键值对
    request.setAttribute("stuName", "小明");

    //取出缓存值
    out.write("request中缓存的值 " + request.getAttribute("stuName"));
%>




</body>
</html>
